/**************************
* @Summary
* @Author 20009200303 赵传博
* @Date 2022/4/3
*****************************/

#include "Error.h"
using namespace myError;

int myError::number_of_errors;

double myError::error(const string &s) {
    ++number_of_errors;
    cerr << "error(" << line_number << "): " << s << endl;
    return 1;
}
